package org.familysearch.fsapi.gwt.server.bo;

public class BOException extends Exception {

	private static final long serialVersionUID = 2077739921508162787L;
	private String code;
	private String message;
	
	public BOException()
	{
		
	}
	
	public BOException(String code, String message)
	{
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	public String toString()
	{
		String str = "";
		str += this.getCode() + ": " + this.getMessage();
		return str;
	}
	
}
